package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.TagBaseInfoDao;
import com.frogs.ucenter.entity.TagBaseInfo;
import com.frogs.ucenter.service.TagBaseInfoService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("tagBaseInfoService")
public class TagBaseInfoServiceImpl extends BaseServiceImpl<TagBaseInfo> implements TagBaseInfoService {
	  @Autowired
	    private TagBaseInfoDao tagBaseInfoDao;

	    public TagBaseInfoServiceImpl() {
	        super();
	    }

	    public TagBaseInfoDao getTagBaseInfoDao() {
	        return tagBaseInfoDao;
	    }

	    /**
	     * Don't remove or edit it.
	     */
	    @Override
	    protected BaseDao<TagBaseInfo> getBaseDao() {
	        return tagBaseInfoDao;
	    }

	    public void setTagInfoBeanDao(TagBaseInfoDao tagBaseInfoDao) {
	        this.tagBaseInfoDao = tagBaseInfoDao;
	    }
}